<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>

</body>
<script>
  "use strict"; {
    let arr = [33, 11, 0, 233, 11, 0];
    let new_arr = arr.reduce((pre, value, index, arr) => {
      if (!pre.includes(value)) pre.push(value); //当前数组不存在该值时，就添加
      return pre;
    }, []);
    console.table(new_arr);

  };
</script>

</html>